package com.educate.member.rpc.api;

import com.educate.device.model.bo.MemberBO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;

public interface MemberService {

    void create(MemberBO bo);

    void delete(MemberBO bo);

    void delete(String memberId);

    MemberBO detail(String memberId);

    MemberBO detail(MemberBO bo);

    void update(MemberBO bo);

    Page<MemberBO> query(MemberBO bo, PageRequest pageRequest);

    List<MemberBO> list(MemberBO bo);
}
